var deviceone = require("deviceone");
var app = sm("do_App");
var page = sm("do_Page");
var hashdata = mm("do_HashData");
var nf = sm("do_Notification");
var device = sm("do_Device");
var pubUrl = require("url/pub");
var openHelper = require("helper/open");
var http = require("helper/http");
var upgradeHelper = require("helper/upgrade");
var deviceHelper = require("helper/device");

page.on("back", function() {
    app.closePage()
});

ui("do_Button_1").on("touch", function(data,e) {
	openHelper.open("source://view/public/upgrade/upg.ui");
});